﻿using System;
using KPIS.GERP.GFMS.MODEL;
using System.Collections.Generic;

namespace KPIS.GERP.GFMS.IDAL
{
    public interface IDAL_FIM_Cheques
    {
        IList<M_FIM_Cheques> GetFull(Nullable<int> bank_acc_seq, Nullable<int> cheque_book_seq
            , string cheque_status);
        IList<M_FIM_Cheques> GetList(Nullable<int> bank_acc_seq, Nullable<int> pay_seq
            , Nullable<int> cheque_book_seq, string cheque_status);
        M_FIM_Cheques GetInfo(int seq);

        string Insert(M_FIM_Cheques info);
        void Update(M_FIM_Cheques info);
        void Delete(M_FIM_Cheques info);

        int DoPayCheckMulti(int[] paySeqs, DateTime realPayDate, DateTime payDate, int chequeStatus, int empSeq, string remark, out int countChequeEffected);
    }
}
